import Vue from 'vue'
import Router from 'vue-router'
import Layout from '@/Layout'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Layout',
      component: Layout,
      redirect:'/cesiumMap',
      children:[
        {
        path:'/cesiumMap',
        name:'cesiumMap',
        component:() => import('@/components/cesiumMap')
        }
      ]
    }
  ]
})
